package com.zyj.business.entity;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Version;

/**
 * @author yicky zhang
 * @create 2018-06-28 下午3:07
 * @desc
 **/

@Table(name = "t_customer")
@Data
@Entity
@ToString(callSuper = true)
public class Customer extends BaseEntity {
    public String name;
    public String username;
    public String password;
    @Version
    public int version;
}
